package com.javatian.dao;

import com.javatian.entity.NxSystemFileInfo;
import com.javatian.entity.VideoInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 文件信息Dao
 */
@Repository
public interface NxSystemFileInfoDao extends Mapper<NxSystemFileInfo> {
    /**
     *根据原始文件名，ID查询
     */
    List<NxSystemFileInfo> findByNameAndId(@Param("name")String name, @Param("id")Long id);

}
